/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package main;



/**
 *
 * @author Eduardo
 */
public class EscrowJournal {

    public static final int INF = 999999999;
    public int transaction;
    public int lo = -INF;
    public int hi = INF;
    public int esc, use = 0;
    public int id;

    public EscrowJournal(){
    }

    public void setTransaction(int trans){
        transaction = trans;
    }

    public void setLoHi(int low, int high){
        lo = low;
        hi = high;
    }

    public void setUse(int qtdUse){
        use = qtdUse;
    }

    public void setData(int trans, int low, int high, int qtdEsc, int qtdUse, int idp){
        transaction = trans;
        lo = low;
        hi = high;
        esc = qtdEsc;
        use = qtdUse;
        id = idp;
    }

    public int getTransaction(){
        return transaction;
    }

    public int getHigh(){
        return hi;
    }

    public int getLow(){
        return lo;
    }

    public int getUse(){
        return use;
    }

    public int getId(){
        return id;
    }

    public void deleteJournal(){
        transaction = esc = use = 0;
        hi = INF;
        lo = -INF;
    }
    
}
